#include <stdio.h>
int appandppa(void)
{
    int a[5] = {5,5,5,5,5};
    int b,c,i=0;
    b = a[0]++;
    a[0] = 5;
    c = ++a[0];
    printf("define a as 5.\n");
    printf("b = a++, b = %d\n",b);
    printf("b = ++a, b = %d\n",c);
    printf("a++ is %d\n",a[1]++);
    printf("++a is %d\n",++a[2]);
    printf("a-- is %d\n",a[3]--);
    printf("--a is %d\n",--a[4]);
}
int main(void)
{
    appandppa();
    return 0;
}
